<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.css">
    <script src="https://unpkg.com/swiper@8/swiper-bundle.js"> </script>
    <style>
        .swiper {
            width: 500px;
            height: 500px;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .box1 {
            width: 1080px;
            height: 2000px;
            margin: 0 auto;
            background-color: aquamarine;
        }
    </style>
</head>

<body>
    <div class="box1">
        <!-- Swiper -->
        <div class="swiper mySwiper">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><img src="./imgs/1.jpg" alt=""></div>
                <div class="swiper-slide"><img src="./imgs/2.jpg" alt=""></div>
                <div class="swiper-slide"><img src="./imgs/3.jpg" alt=""></div>
                <div class="swiper-slide"><img src="./imgs/4.jpg" alt=""></div>
                <div class="swiper-slide"><img src="./imgs/5.jpg" alt=""></div>
                <div class="swiper-slide"><img src="./imgs/6.jpg" alt=""></div>

            </div>
            <div class="swiper-pagination"></div>
        </div>
    </div>

    <script>
        var swiper = new Swiper(".mySwiper", {
            pagination: {
                el: ".swiper-pagination",
            },
            loop: true,
            autoplay: true,
            effect: 'coverflow',
        });
    </script>
</body>

</html>